package com.beidouapp.domain.pojo;

import java.io.Serializable;
import java.util.Date;

public class AuditLog implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7611668106658461233L;

	private Long id;

	private String action;

	private Integer resultStatus;

	private String messageTemplate;
	
	private String orgCode;

	private String userId;

	private String userName;

	private String clientIp;

	private String channel;

	private Date createDate;

	public static enum ChannelType
	{
		aoc, app, im, ios;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getAction()
	{
		return action;
	}

	public void setAction(String action)
	{
		this.action = action;
	}

	public Integer getResultStatus()
	{
		return resultStatus;
	}

	public void setResultStatus(Integer resultStatus)
	{
		this.resultStatus = resultStatus;
	}

	public String getMessageTemplate()
	{
		return messageTemplate;
	}

	public void setMessageTemplate(String messageTemplate)
	{
		this.messageTemplate = messageTemplate;
	}

	public String getUserId()
	{
		return userId;
	}

	public void setUserId(String userId)
	{
		this.userId = userId;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public String getClientIp()
	{
		return clientIp;
	}

	public void setClientIp(String clientIp)
	{
		this.clientIp = clientIp;
	}

	public String getChannel()
	{
		return channel;
	}

	public void setChannel(String channel)
	{
		this.channel = channel;
	}

	public Date getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	@Override
	public String toString()
	{
		return "AuditLog [action=" + action + ",resultStatus=" + resultStatus 
				+ ",messageTemplate=" + messageTemplate + ",orgCode=" + orgCode + ",userId=" + userId 
				+ ",userName=" + userName + ",clientIp=" + clientIp + ",channel=" + channel 
				+ ",createDate=" + createDate + "]";
	}
}
